
#ifndef _MEMBER_BTIMEEDIT_H_
#define _MEMBER_BTIMEEDIT_H_

#include <BPoint>
#include <BString>
#include <BTimeEdit>
#include "member_BLineEdit.h"

namespace BWE
{
	class member_BTimeEdit
	{
	public:
		member_BTimeEdit(BTimeEdit* timeEdit);
		~member_BTimeEdit();

		void freshRects();

		BTimeEdit*		boss;
		Align			align;
		BTime			time;
		BString			text;
		BString			format;
		bool			readOnly;
		bool			synchro;
		BReal			blinkTime;
		BReal			blinkTick;
		bool			blinkShown;

		bool			dirty;
		bool			dirtyText;
		BReal			focusedTime;
		bool			pressed;
		int				pressedIndex;
		bool			edited;
		int				hoverIndex;
		int				inputIndex;
		int				inputCount;
		BRect			textRect;
		int				textHeight;
		BArray<BRect>	rects;
	};
}

#endif